package main.java.org.itc3.Presentacion;



import com.opensymphony.xwork2.ActionSupport;

import main.java.org.itc3.Control.Gestor_Tarea;
import main.java.org.itc3.Dominio.Tarea;
import java.util.List;
import java.util.ArrayList;


public class Interfaz_Tarea  extends ActionSupport{
	
	
	private List<Tarea> tareaList = new ArrayList<Tarea>();
	
	
	
	/**
	 * @return the tareaList
	 */
	public List<Tarea> getTareaList() {
		return tareaList;
	}



	/**
	 * @param tareaList the tareaList to set
	 */
	public void setTareaList(List<Tarea> tareaList) {
		this.tareaList = tareaList;
	}



	public String execute() {
		
		Gestor_Tarea gestor = new Gestor_Tarea();
		tareaList = gestor.buscarTarea();
		return SUCCESS;
		
	
}
}